package com.zaydanwu.cla.service.Impl;

import com.zaydanwu.cla.dao.CreditMapper;
import com.zaydanwu.cla.model.Credit;
import com.zaydanwu.cla.service.CreditService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author wzo
 * @since 2.0.0 2018-12-13
 */
@Service
public class CreditServiceImpl implements CreditService {

    @Resource
    private CreditMapper creditMapper;

    @Override
    public Credit getStudentCredit(Long stuNo, String studentName) {
        return creditMapper.getStudentCredit(stuNo, studentName);
    }
}
